|
|
"Chris B" <nom### [at] nomailcom> wrote:
> #switch (0)
> #case(strcmp(DoorModel, "model_101"))
> ...
> #break
> #case(strcmp(DoorModel, "model_102"))
> ...
> #break
> #else
> ...
> #end
Ah, now *that's* an interesting idea... thanks, even I still live and learn.
I've always missed an #if ... #elseif construct in POV-Ray, but looks like this
is it.
BTW, in POV-Ray 3.7 it should also work with the comparison operator, i.e.:
#case(DoorModel = "model_101")
Post a reply to this message
|
|